package com.damie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dadie.Domain.WasteDomain;
import com.dadie.Dto.WasteDto;
import com.dadie.parame.WasteParame;
import com.dadie.parame.WasteParameUpdate;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Alon
 * @since 2021-01-22
 */
public interface WasteService extends IService<WasteDomain> {

    WasteDto siteAddTypeBysiteId(String site, WasteParame wasteParame);

    WasteDto updateTypeBySiteId(String site, WasteParameUpdate wasteParame);

    WasteDto deleteTypeBySiteId(String site, String wasteId);

    List<WasteDto> selectTypeBySiteId(String site);

    List<WasteDto> selectTypeBySiteId2(String site, String parentId);
}
